import request from '../index.js'
//交款
export const pay = data => {
    return request.post('/api/customerVisitRecord/pay', data)
  }
//新交款
export const newpay = data => {
    return request.post('/api/newCustomerVisitRecord/pay', data)
  }
  // 欠款金额
export const debtAmount = data => {
    return request.get('/api/customerVisitRecord/debtAmount', data)
  }
  // 新欠款金额
export const newdebtAmount = data => {
    return request.get('/api/newCustomerVisitRecord/debtAmount', data)
  }